﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_Default" %>

<!--#include file="top.aspx"-->
<div class="body">
    <form id="form" runat="server">
    <div class="notice">
        <marquee direction="left" onmouseout="start()" onmouseover="stop()" scrollamount="2" > 
                  最新公告:本系统正在测试中。。。
		</marquee>
    </div>
    <div class="clr">
    </div>
    <div class="right_small">
        <h3>
            用户登录</h3>
        <div class="login">
            <p>
                用户名：</p>
            <label>
                <asp:textbox id="name" runat="server" cssclass="input"></asp:textbox>
            </label>
            <p>
                密 码：</p>
            <label>
                <asp:textbox id="password" runat="server" textmode="Password" cssclass="input"></asp:textbox>
            </label>
            <p>
                用户组：
            </p>
            <label>
                <asp:dropdownlist id="userGroup" runat="server" width="200px">
                <asp:ListItem>学生</asp:ListItem>
                <asp:ListItem>教师</asp:ListItem>
            </asp:dropdownlist>
            </label>
            <p>
                <asp:label id="msg" cssclass="msg" runat="server" font-names="微软雅黑"></asp:label>
            </p>
            <p>
                &nbsp;</p>
            <asp:imagebutton id="studentLogin" runat="server" text="登录" imageurl="images/登陆.jpg"
                cssclass="button" onclick="Login_Click" />
        </div>
    </div>
    <div class="left">
        <h3>
            <a href="showNewList.aspx">公告新闻</a></h3>
        <div class="newList">
            <asp:datagrid id="newList" runat="server" autogeneratecolumns="False" gridlines="None"
                showheader="False" onitemcommand="showNewInfo">
                <Columns>
                    <asp:ButtonColumn CommandName="showNew" DataTextField="title" ButtonType="LinkButton"
                        ItemStyle-Width="456px" ItemStyle-CssClass="newList1"></asp:ButtonColumn>
                    <asp:BoundColumn DataField="date" ItemStyle-Width="88px"></asp:BoundColumn>
                </Columns>
            </asp:datagrid>
        </div>
        <p>
            <a href="showNewList.aspx">更多. . .</a></p>
    </div>
    </form>
    <div class="clr">
    </div>
    <div class="clr">
    </div>
</div>
<!--#include file="Footer.aspx"-->
